<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
		<meta name="generator" content="JsDoc Toolkit" />
		
		<title>JsDoc Reference - fni.locale.FNILocale</title>

		<style type="text/css">
			/* default.css */
body
{
	font: 12px "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
	width: 800px;
}

.header
{
	clear: both;
	background-color: #ccc;
	padding: 8px;
}

h1
{
	font-size: 150%;
	font-weight: bold;
	padding: 0;
	margin: 1em 0 0 .3em;
}

hr
{
	border: none 0;
	border-top: 1px solid #7F8FB1;
	height: 1px;
}

pre.code
{
	display: block;
	padding: 8px;
	border: 1px dashed #ccc;
}

#index
{
	margin-top: 24px;
	float: left;
	width: 160px;
	position: absolute;
	left: 8px;
	background-color: #F3F3F3;
	padding: 8px;
}

#content
{
	margin-left: 190px;
	width: 600px;
}

.classList
{
	list-style-type: none;
	padding: 0;
	margin: 0 0 0 8px;
	font-family: arial, sans-serif;
	font-size: 1em;
	overflow: auto;
}

.classList li
{
	padding: 0;
	margin: 0 0 8px 0;
}

.summaryTable { width: 100%; }

h1.classTitle
{
	font-size:170%;
	line-height:130%;
}

h2 { font-size: 110%; }
caption, div.sectionTitle
{
	background-color: #7F8FB1;
	color: #fff;
	font-size:130%;
	text-align: left;
	padding: 2px 6px 2px 6px;
	border: 1px #7F8FB1 solid;
}

div.sectionTitle { margin-bottom: 8px; }
.summaryTable thead { display: none; }

.summaryTable td
{
	vertical-align: top;
	padding: 4px;
	border-bottom: 1px #7F8FB1 solid;
	border-right: 1px #7F8FB1 solid;
}

/*col#summaryAttributes {}*/
.summaryTable td.attributes
{
	border-left: 1px #7F8FB1 solid;
	width: 140px;
	text-align: right;
}

td.attributes, .fixedFont
{
	line-height: 15px;
	color: #002EBE;
	font-family: "Courier New",Courier,monospace;
	font-size: 13px;
}

.summaryTable td.nameDescription
{
	text-align: left;
	font-size: 13px;
	line-height: 15px;
}

.summaryTable td.nameDescription, .description
{
	line-height: 15px;
	padding: 4px;
	padding-left: 4px;
}

.summaryTable { margin-bottom: 8px; }

ul.inheritsList
{
	list-style: square;
	margin-left: 20px;
	padding-left: 0;
}

.detailList {
	margin-left: 20px; 
	line-height: 15px;
}
.detailList dt { margin-left: 20px; }

.detailList .heading
{
	font-weight: bold;
	padding-bottom: 6px;
	margin-left: 0;
}

.light, td.attributes, .light a:link, .light a:visited
{
	color: #777;
	font-style: italic;
}

.fineprint
{
	text-align: right;
	font-size: 10px;
}
		</style>
	</head>

	<body>
<!-- ============================== header ================================= -->	
		<!-- begin static/header.html -->
		<div id="header">
</div>
		<!-- end static/header.html -->

<!-- ============================== classes index ============================ -->
		<div id="index">
			<!-- begin publish.classesIndex -->
			<div align="center"><a href="../index.html">Class Index</a>
| <a href="../files.html">File Index</a></div>
<hr />
<h2>Classes</h2>
<ul class="classList">
	
	<li><i><a href="../symbols/_global_.html">_global_</a></i></li>
	
	<li><a href="../symbols/fni.html">fni</a></li>
	
	<li><a href="../symbols/fni.locale.html">fni.locale</a></li>
	
	<li><a href="../symbols/fni.locale.dateformat.html">fni.locale.dateformat</a></li>
	
	<li><a href="../symbols/fni.locale.dateformat.FNIAmPmTokenFormatter.html">fni.locale.dateformat.FNIAmPmTokenFormatter</a></li>
	
	<li><a href="../symbols/fni.locale.dateformat.FNIDateFormat.html">fni.locale.dateformat.FNIDateFormat</a></li>
	
	<li><a href="../symbols/fni.locale.dateformat.FNIDateTokenFormatter.html">fni.locale.dateformat.FNIDateTokenFormatter</a></li>
	
	<li><a href="../symbols/fni.locale.dateformat.FNIHour12TokenFormatter.html">fni.locale.dateformat.FNIHour12TokenFormatter</a></li>
	
	<li><a href="../symbols/fni.locale.dateformat.FNIHour24TokenFormatter.html">fni.locale.dateformat.FNIHour24TokenFormatter</a></li>
	
	<li><a href="../symbols/fni.locale.dateformat.FNILocalizedLongDayTokenFormatter.html">fni.locale.dateformat.FNILocalizedLongDayTokenFormatter</a></li>
	
	<li><a href="../symbols/fni.locale.dateformat.FNILocalizedMonthTokenFormatter.html">fni.locale.dateformat.FNILocalizedMonthTokenFormatter</a></li>
	
	<li><a href="../symbols/fni.locale.dateformat.FNILocalizedShortDayTokenFormatter.html">fni.locale.dateformat.FNILocalizedShortDayTokenFormatter</a></li>
	
	<li><a href="../symbols/fni.locale.dateformat.FNILongYearTokenFormatter.html">fni.locale.dateformat.FNILongYearTokenFormatter</a></li>
	
	<li><a href="../symbols/fni.locale.dateformat.FNIMillisecondTokenFormatter.html">fni.locale.dateformat.FNIMillisecondTokenFormatter</a></li>
	
	<li><a href="../symbols/fni.locale.dateformat.FNIMinuteTokenFormatter.html">fni.locale.dateformat.FNIMinuteTokenFormatter</a></li>
	
	<li><a href="../symbols/fni.locale.dateformat.FNIMonthTokenFormatter.html">fni.locale.dateformat.FNIMonthTokenFormatter</a></li>
	
	<li><a href="../symbols/fni.locale.dateformat.FNIPaddedDateTokenFormatter.html">fni.locale.dateformat.FNIPaddedDateTokenFormatter</a></li>
	
	<li><a href="../symbols/fni.locale.dateformat.FNIPaddedHour12TokenFormatter.html">fni.locale.dateformat.FNIPaddedHour12TokenFormatter</a></li>
	
	<li><a href="../symbols/fni.locale.dateformat.FNIPaddedHour24TokenFormatter.html">fni.locale.dateformat.FNIPaddedHour24TokenFormatter</a></li>
	
	<li><a href="../symbols/fni.locale.dateformat.FNIPaddedMillisecondTokenFormatter.html">fni.locale.dateformat.FNIPaddedMillisecondTokenFormatter</a></li>
	
	<li><a href="../symbols/fni.locale.dateformat.FNIPaddedMinuteTokenFormatter.html">fni.locale.dateformat.FNIPaddedMinuteTokenFormatter</a></li>
	
	<li><a href="../symbols/fni.locale.dateformat.FNIPaddedMonthTokenFormatter.html">fni.locale.dateformat.FNIPaddedMonthTokenFormatter</a></li>
	
	<li><a href="../symbols/fni.locale.dateformat.FNIPaddedSecondTokenFormatter.html">fni.locale.dateformat.FNIPaddedSecondTokenFormatter</a></li>
	
	<li><a href="../symbols/fni.locale.dateformat.FNISecondTokenFormatter.html">fni.locale.dateformat.FNISecondTokenFormatter</a></li>
	
	<li><a href="../symbols/fni.locale.dateformat.FNIShortYearTokenFormatter.html">fni.locale.dateformat.FNIShortYearTokenFormatter</a></li>
	
	<li><a href="../symbols/fni.locale.dateformat.FNITokenFormatter.html">fni.locale.dateformat.FNITokenFormatter</a></li>
	
	<li><a href="../symbols/fni.locale.dateformat.FNITokenFormatterVault.html">fni.locale.dateformat.FNITokenFormatterVault</a></li>
	
	<li><a href="../symbols/fni.locale.FNILocale.html">fni.locale.FNILocale</a></li>
	
</ul>
<hr />
			<!-- end publish.classesIndex -->
		</div>
		
		<div id="content">
<!-- ============================== class title ============================ -->
			<h1 class="classTitle">
				
				Class fni.locale.FNILocale
			</h1>

<!-- ============================== class summary ========================== -->			
			<p class="description">
				
				
			
				Class that handles localization
				
				
					<br /><i>Defined in: </i> <a href="../symbols/src/src_fni_locale_FNILocale.js.html">FNILocale.js</a>.
				
			</p>

<!-- ============================== constructor summary ==================== -->			
			
			<table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class fni.locale.FNILocale.">
				<caption>Class Summary</caption>
				<thead>
					<tr>
						<th scope="col">Constructor Attributes</th>
						<th scope="col">Constructor Name and Description</th>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td class="attributes">&nbsp;</td>
						<td class="nameDescription" >
							<div class="fixedFont">
								<b><a href="../symbols/fni.locale.FNILocale.html#constructor">fni.locale.FNILocale</a></b>()
							</div>
							<div class="description">Class constructor</div>
						</td>
					</tr>
				</tbody>
			</table>
			

<!-- ============================== properties summary ===================== -->
			

<!-- ============================== methods summary ======================== -->
			
				
				
				<table class="summaryTable" cellspacing="0" summary="A summary of the methods documented in the class fni.locale.FNILocale.">
					<caption>Method Summary</caption>
					<thead>
						<tr>
							<th scope="col">Method Attributes</th>
							<th scope="col">Method Name and Description</th>
						</tr>
					</thead>
					<tbody>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/fni.locale.FNILocale.html#getCountry">getCountry</a></b>()
								</div>
								<div class="description">Returns current country code</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/fni.locale.FNILocale.html#getDate">getDate</a></b>(timestamp, longFormat)
								</div>
								<div class="description">Returns timestamp as string formatted by pattern specified in "dateFormatLong" or "dateFormatShort" setting.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/fni.locale.FNILocale.html#getDateFormat">getDateFormat</a></b>(longFormat)
								</div>
								<div class="description">Returns current date format.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/fni.locale.FNILocale.html#getDateTime">getDateTime</a></b>(timestamp, longFormat)
								</div>
								<div class="description">Returns timestamp as string formatted by pattern specified in "timeFormat" setting.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/fni.locale.FNILocale.html#getLanguage">getLanguage</a></b>()
								</div>
								<div class="description">Returns current language</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/fni.locale.FNILocale.html#getLanguages">getLanguages</a></b>()
								</div>
								<div class="description">Returns loaded languages</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/fni.locale.FNILocale.html#getLocale">getLocale</a></b>()
								</div>
								<div class="description">Returns current locale</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/fni.locale.FNILocale.html#getLocales">getLocales</a></b>()
								</div>
								<div class="description">Returns loaded locales</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/fni.locale.FNILocale.html#getLocalizedText">getLocalizedText</a></b>(locale, key, param1&#44;&#32;param2&#44;&#32;param3&#46;&#46;&#46;)
								</div>
								<div class="description">Returns localized text for key in specified locale</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/fni.locale.FNILocale.html#getSetting">getSetting</a></b>(name)
								</div>
								<div class="description">Returns setting value for current locale</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/fni.locale.FNILocale.html#getText">getText</a></b>(key, param1&#44;&#32;param2&#44;&#32;param3&#46;&#46;&#46;)
								</div>
								<div class="description">Returns localized text for key in current locale</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/fni.locale.FNILocale.html#getTime">getTime</a></b>(timestamp)
								</div>
								<div class="description">Returns timestamp as string formatted by pattern specified in "timeFormat" setting.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/fni.locale.FNILocale.html#getTimeFormat">getTimeFormat</a></b>()
								</div>
								<div class="description">Returns current time format.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/fni.locale.FNILocale.html#loadLocale">loadLocale</a></b>(locale, file)
								</div>
								<div class="description">Loads locales from JSON.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/fni.locale.FNILocale.html#setCountry">setCountry</a></b>(language)
								</div>
								<div class="description">Sets current country (e.g.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/fni.locale.FNILocale.html#setLanguage">setLanguage</a></b>(language)
								</div>
								<div class="description">Sets current language (e.g.</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/fni.locale.FNILocale.html#setLocale">setLocale</a></b>(locale)
								</div>
								<div class="description">Sets current locale</div>
							</td>
						</tr>
					
						<tr>
							<td class="attributes">&nbsp;</td>
							<td class="nameDescription">
								<div class="fixedFont"><b><a href="../symbols/fni.locale.FNILocale.html#setSetting">setSetting</a></b>(name, value)
								</div>
								<div class="description">Sets setting for current locale</div>
							</td>
						</tr>
					
					</tbody>
				</table>
				
				
				
			
<!-- ============================== events summary ======================== -->
			

<!-- ============================== constructor details ==================== -->		
			
			<div class="details"><a name="constructor"> </a>
				<div class="sectionTitle">
					Class Detail
				</div>
				
				<div class="fixedFont">
						<b>fni.locale.FNILocale</b>()
				</div>
				
				<div class="description">
					Class constructor
					
				</div>
				
				
				
				
					
					
					
					
					
					
					

			</div>
			

<!-- ============================== field details ========================== -->		
			

<!-- ============================== method details ========================= -->		
			
				<div class="sectionTitle">
					Method Detail
				</div>
				
					<a name="getCountry"> </a>
					<div class="fixedFont">
					
					<span class="light">{String}</span>
					<b>getCountry</b>()
					
					</div>
					<div class="description">
						Returns current country code
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{String}</span> current country code</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getDate"> </a>
					<div class="fixedFont">
					
					<span class="light">{String}</span>
					<b>getDate</b>(timestamp, longFormat)
					
					</div>
					<div class="description">
						Returns timestamp as string formatted by pattern specified in "dateFormatLong" or "dateFormatShort" setting.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>timestamp</b>
									
								</dt>
								<dd>timestamp</dd>
							
								<dt>
									<span class="light fixedFont">{Boolean}</span> <b>longFormat</b>
									
								</dt>
								<dd>if true "dateFormatLong" setting should be used otherwise "dateFormatShort" is used</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{String}</span> formatted date string</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getDateFormat"> </a>
					<div class="fixedFont">
					
					
					<b>getDateFormat</b>(longFormat)
					
					</div>
					<div class="description">
						Returns current date format.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<b>longFormat</b>
									
								</dt>
								<dd>{Boolean} if true "dateFormatLong" setting should be used otherwise "dateFormatShort" is used</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd>Current date format</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getDateTime"> </a>
					<div class="fixedFont">
					
					<span class="light">{String}</span>
					<b>getDateTime</b>(timestamp, longFormat)
					
					</div>
					<div class="description">
						Returns timestamp as string formatted by pattern specified in "timeFormat" setting.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>timestamp</b>
									
								</dt>
								<dd>timestamp</dd>
							
								<dt>
									<b>longFormat</b>
									
								</dt>
								<dd></dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{String}</span> formatted time string</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getLanguage"> </a>
					<div class="fixedFont">
					
					<span class="light">{String}</span>
					<b>getLanguage</b>()
					
					</div>
					<div class="description">
						Returns current language
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{String}</span> current language</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getLanguages"> </a>
					<div class="fixedFont">
					
					<span class="light">{String[]}</span>
					<b>getLanguages</b>()
					
					</div>
					<div class="description">
						Returns loaded languages
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{String[]}</span> loaded languages</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getLocale"> </a>
					<div class="fixedFont">
					
					<span class="light">{Locale}</span>
					<b>getLocale</b>()
					
					</div>
					<div class="description">
						Returns current locale
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Locale}</span> current locale</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getLocales"> </a>
					<div class="fixedFont">
					
					<span class="light">{Locale[]}</span>
					<b>getLocales</b>()
					
					</div>
					<div class="description">
						Returns loaded locales
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{Locale[]}</span> loaded locales</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getLocalizedText"> </a>
					<div class="fixedFont">
					
					<span class="light">{String}</span>
					<b>getLocalizedText</b>(locale, key, param1&#44;&#32;param2&#44;&#32;param3&#46;&#46;&#46;)
					
					</div>
					<div class="description">
						Returns localized text for key in specified locale
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Locale}</span> <b>locale</b>
									
								</dt>
								<dd>locale in where text is returned</dd>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>key</b>
									
								</dt>
								<dd></dd>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>param1&#44;&#32;param2&#44;&#32;param3&#46;&#46;&#46;</b>
									
								</dt>
								<dd>locale parameters</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{String}</span> localized string</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getSetting"> </a>
					<div class="fixedFont">
					
					<span class="light">{String}</span>
					<b>getSetting</b>(name)
					
					</div>
					<div class="description">
						Returns setting value for current locale
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<b>name</b>
									
								</dt>
								<dd>setting name</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{String}</span> setting</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getText"> </a>
					<div class="fixedFont">
					
					<span class="light">{String}</span>
					<b>getText</b>(key, param1&#44;&#32;param2&#44;&#32;param3&#46;&#46;&#46;)
					
					</div>
					<div class="description">
						Returns localized text for key in current locale
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>key</b>
									
								</dt>
								<dd></dd>
							
								<dt>
									<span class="light fixedFont">{String}</span> <b>param1&#44;&#32;param2&#44;&#32;param3&#46;&#46;&#46;</b>
									
								</dt>
								<dd>locale parameters</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{String}</span> localized string</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getTime"> </a>
					<div class="fixedFont">
					
					<span class="light">{String}</span>
					<b>getTime</b>(timestamp)
					
					</div>
					<div class="description">
						Returns timestamp as string formatted by pattern specified in "timeFormat" setting.
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<span class="light fixedFont">{Number}</span> <b>timestamp</b>
									
								</dt>
								<dd>timestamp</dd>
							
							</dl>
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd><span class="light fixedFont">{String}</span> formatted time string</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="getTimeFormat"> </a>
					<div class="fixedFont">
					
					
					<b>getTimeFormat</b>()
					
					</div>
					<div class="description">
						Returns current time format.
						
						
					</div>
					
					
					
						
						
						
						
						
							<dl class="detailList">
							<dt class="heading">Returns:</dt>
							
								<dd>Current time format</dd>
							
							</dl>
						
						
						

					<hr />
				
					<a name="loadLocale"> </a>
					<div class="fixedFont">
					
					
					<b>loadLocale</b>(locale, file)
					
					</div>
					<div class="description">
						Loads locales from JSON.

JSON format should be: 

<pre>{ 
  localeStrings: {
    key: value
  },
  settings: {
    key: value
  }
}</pre>
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<b>locale</b>
									
								</dt>
								<dd>locale to be loaded</dd>
							
								<dt>
									<b>file</b>
									
								</dt>
								<dd>url to JSON file</dd>
							
							</dl>
						
						
						
						
						
						
						

					<hr />
				
					<a name="setCountry"> </a>
					<div class="fixedFont">
					
					
					<b>setCountry</b>(language)
					
					</div>
					<div class="description">
						Sets current country (e.g. US in en_US)
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<b>language</b>
									
								</dt>
								<dd>{String} language</dd>
							
							</dl>
						
						
						
						
						
						
						

					<hr />
				
					<a name="setLanguage"> </a>
					<div class="fixedFont">
					
					
					<b>setLanguage</b>(language)
					
					</div>
					<div class="description">
						Sets current language (e.g. en in en_US)
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<b>language</b>
									
								</dt>
								<dd>{String} language</dd>
							
							</dl>
						
						
						
						
						
						
						

					<hr />
				
					<a name="setLocale"> </a>
					<div class="fixedFont">
					
					
					<b>setLocale</b>(locale)
					
					</div>
					<div class="description">
						Sets current locale
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<b>locale</b>
									
								</dt>
								<dd>{Locale}</dd>
							
							</dl>
						
						
						
						
						
						
						

					<hr />
				
					<a name="setSetting"> </a>
					<div class="fixedFont">
					
					
					<b>setSetting</b>(name, value)
					
					</div>
					<div class="description">
						Sets setting for current locale
						
						
					</div>
					
					
					
						
							<dl class="detailList">
							<dt class="heading">Parameters:</dt>
							
								<dt>
									<b>name</b>
									
								</dt>
								<dd>{String} setting name</dd>
							
								<dt>
									<b>value</b>
									
								</dt>
								<dd>{String} setting value</dd>
							
							</dl>
						
						
						
						
						
						
						

					
				
			
			
<!-- ============================== event details ========================= -->		
			
			
			<hr />
		</div>

		
<!-- ============================== footer ================================= -->
		<div class="fineprint" style="clear:both">
			
			Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0 on Fri May 20 2011 10:24:43 GMT+0300 (EEST)
		</div>
	</body>
</html>
